/**
 * 
 */
package com.and.xmppsdk;

import com.and.xmppsdk.util.TitleHelper;

import android.support.v4.app.FragmentActivity;

/**
 * @author hljdrl@gmail.com
 *
 */
public abstract class BaseActivity extends FragmentActivity {

	final TitleHelper mTitleHelper = TitleHelper.createInstance(this);
	
	
	
	@Override
	protected void onDestroy() {
		super.onDestroy();
		try{
			onReleaseMemory();
		}catch(Exception ex){
			ex.printStackTrace();
		}
	}
	
	/**
	 * 释放内存
	 */
	abstract protected void onReleaseMemory();
}
